define(['lib/Three'], function(THREE) {

function ThreeRenderPass(width, height) {
  this.renderer_ = new THREE.WebGLRenderer();
  this.renderer_.setSize(width, height);
  this.domElement = this.renderer_.domElement;
  this.scene = new THREE.Scene();
  this.camera = new THREE.PerspectiveCamera(
    35,  // Field of view
    width / height,  // Aspect ratio
    0.1,  // Near plane
    10000);  // Far plane
  this.scene.add(this.camera);
};

ThreeRenderPass.prototype.execute = function(timeDeltaMillis) {
  this.renderer_.render(this.scene, this.camera);
};

return ThreeRenderPass;

});
